package com.hjq.fcloud.http.api;

import com.hjq.fcloud.bean.DtlsBean;
import com.hjq.fcloud.bean.FileItemBean;
import com.hjq.fcloud.bean.FncBean;
import com.hjq.fcloud.http.Urls;
import com.hjq.http.config.IRequestApi;

import java.util.ArrayList;
import java.util.HashMap;

public final class MaterialsWarehousingConfirmationDetailApi implements IRequestApi {
    @Override
    public String getApi() {
        return Urls.URL_DETAIL_MAT_STORE_CONFIRM;
    }

    private Object id;
    public MaterialsWarehousingConfirmationDetailApi setId(Object id) {
        this.id = id;
        return this;
    }

    public static class Data{
        //入库序号
        private String id;
        private String fnc_id;
        private FncBean fnc;
        //入库批次编号
        private String batch_no;
        //入库时间
        private String store_time;
        //本次入库材料总金额/本次进场材料总计金额:
        private String money;
        private ArrayList<DtlsBean> dtls;
        //使用main_status，流程状态：3待确认6已确认9确认失败
        private String main_status;
        private HashMap<String, ArrayList<FileItemBean>> files;

        public HashMap<String, ArrayList<FileItemBean>> getFiles() {
            return files;
        }

        public void setFiles(HashMap<String, ArrayList<FileItemBean>> files) {
            this.files = files;
        }

        public String getMain_status() {
            return main_status;
        }

        public void setMain_status(String main_status) {
            this.main_status = main_status;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getFnc_id() {
            return fnc_id;
        }

        public void setFnc_id(String fnc_id) {
            this.fnc_id = fnc_id;
        }

        public FncBean getFnc() {
            return fnc;
        }

        public void setFnc(FncBean fnc) {
            this.fnc = fnc;
        }

        public String getBatch_no() {
            return batch_no;
        }

        public void setBatch_no(String batch_no) {
            this.batch_no = batch_no;
        }

        public String getStore_time() {
            return store_time;
        }

        public void setStore_time(String store_time) {
            this.store_time = store_time;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public ArrayList<DtlsBean> getDtls() {
            return dtls;
        }

        public void setDtls(ArrayList<DtlsBean> dtls) {
            this.dtls = dtls;
        }
    }


}